package com.hongyun.tms.infra.excel.annotation;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

@Documented
@Constraint(validatedBy = LengthRangeValidator.class)
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidLengthRange {
    String message() default "船长-起必须小于船长-止";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
